//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.cgform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

@TableName("onl_cgform_button")
public class OnlCgformButton implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String cgformHeadId;
    private String buttonCode;
    private String buttonName;
    private String buttonStyle;
    private String optType;
    private String exp;
    private String buttonStatus;
    private Integer orderNum;
    private String buttonIcon;

    public OnlCgformButton() {
    }

    public String getId() {
        return this.id;
    }

    public String getCgformHeadId() {
        return this.cgformHeadId;
    }

    public String getButtonCode() {
        return this.buttonCode;
    }

    public String getButtonName() {
        return this.buttonName;
    }

    public String getButtonStyle() {
        return this.buttonStyle;
    }

    public String getOptType() {
        return this.optType;
    }

    public String getExp() {
        return this.exp;
    }

    public String getButtonStatus() {
        return this.buttonStatus;
    }

    public Integer getOrderNum() {
        return this.orderNum;
    }

    public String getButtonIcon() {
        return this.buttonIcon;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setCgformHeadId(final String cgformHeadId) {
        this.cgformHeadId = cgformHeadId;
    }

    public void setButtonCode(final String buttonCode) {
        this.buttonCode = buttonCode;
    }

    public void setButtonName(final String buttonName) {
        this.buttonName = buttonName;
    }

    public void setButtonStyle(final String buttonStyle) {
        this.buttonStyle = buttonStyle;
    }

    public void setOptType(final String optType) {
        this.optType = optType;
    }

    public void setExp(final String exp) {
        this.exp = exp;
    }

    public void setButtonStatus(final String buttonStatus) {
        this.buttonStatus = buttonStatus;
    }

    public void setOrderNum(final Integer orderNum) {
        this.orderNum = orderNum;
    }

    public void setButtonIcon(final String buttonIcon) {
        this.buttonIcon = buttonIcon;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlCgformButton)) {
            return false;
        } else {
            OnlCgformButton other = (OnlCgformButton)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$cgformHeadId = this.getCgformHeadId();
                Object other$cgformHeadId = other.getCgformHeadId();
                if (this$cgformHeadId == null) {
                    if (other$cgformHeadId != null) {
                        return false;
                    }
                } else if (!this$cgformHeadId.equals(other$cgformHeadId)) {
                    return false;
                }

                Object this$buttonCode = this.getButtonCode();
                Object other$buttonCode = other.getButtonCode();
                if (this$buttonCode == null) {
                    if (other$buttonCode != null) {
                        return false;
                    }
                } else if (!this$buttonCode.equals(other$buttonCode)) {
                    return false;
                }

                label110: {
                    Object this$buttonName = this.getButtonName();
                    Object other$buttonName = other.getButtonName();
                    if (this$buttonName == null) {
                        if (other$buttonName == null) {
                            break label110;
                        }
                    } else if (this$buttonName.equals(other$buttonName)) {
                        break label110;
                    }

                    return false;
                }

                label103: {
                    Object this$buttonStyle = this.getButtonStyle();
                    Object other$buttonStyle = other.getButtonStyle();
                    if (this$buttonStyle == null) {
                        if (other$buttonStyle == null) {
                            break label103;
                        }
                    } else if (this$buttonStyle.equals(other$buttonStyle)) {
                        break label103;
                    }

                    return false;
                }

                Object this$optType = this.getOptType();
                Object other$optType = other.getOptType();
                if (this$optType == null) {
                    if (other$optType != null) {
                        return false;
                    }
                } else if (!this$optType.equals(other$optType)) {
                    return false;
                }

                label89: {
                    Object this$exp = this.getExp();
                    Object other$exp = other.getExp();
                    if (this$exp == null) {
                        if (other$exp == null) {
                            break label89;
                        }
                    } else if (this$exp.equals(other$exp)) {
                        break label89;
                    }

                    return false;
                }

                label82: {
                    Object this$buttonStatus = this.getButtonStatus();
                    Object other$buttonStatus = other.getButtonStatus();
                    if (this$buttonStatus == null) {
                        if (other$buttonStatus == null) {
                            break label82;
                        }
                    } else if (this$buttonStatus.equals(other$buttonStatus)) {
                        break label82;
                    }

                    return false;
                }

                Object this$orderNum = this.getOrderNum();
                Object other$orderNum = other.getOrderNum();
                if (this$orderNum == null) {
                    if (other$orderNum != null) {
                        return false;
                    }
                } else if (!this$orderNum.equals(other$orderNum)) {
                    return false;
                }

                Object this$buttonIcon = this.getButtonIcon();
                Object other$buttonIcon = other.getButtonIcon();
                if (this$buttonIcon == null) {
                    if (other$buttonIcon != null) {
                        return false;
                    }
                } else if (!this$buttonIcon.equals(other$buttonIcon)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlCgformButton;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $cgformHeadId = this.getCgformHeadId();
//        result = result * 59 + ($cgformHeadId == null ? 43 : $cgformHeadId.hashCode());
//        Object $buttonCode = this.getButtonCode();
//        result = result * 59 + ($buttonCode == null ? 43 : $buttonCode.hashCode());
//        Object $buttonName = this.getButtonName();
//        result = result * 59 + ($buttonName == null ? 43 : $buttonName.hashCode());
//        Object $buttonStyle = this.getButtonStyle();
//        result = result * 59 + ($buttonStyle == null ? 43 : $buttonStyle.hashCode());
//        Object $optType = this.getOptType();
//        result = result * 59 + ($optType == null ? 43 : $optType.hashCode());
//        Object $exp = this.getExp();
//        result = result * 59 + ($exp == null ? 43 : $exp.hashCode());
//        Object $buttonStatus = this.getButtonStatus();
//        result = result * 59 + ($buttonStatus == null ? 43 : $buttonStatus.hashCode());
//        Object $orderNum = this.getOrderNum();
//        result = result * 59 + ($orderNum == null ? 43 : $orderNum.hashCode());
//        Object $buttonIcon = this.getButtonIcon();
//        result = result * 59 + ($buttonIcon == null ? 43 : $buttonIcon.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlCgformButton(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", buttonCode=" + this.getButtonCode() + ", buttonName=" + this.getButtonName() + ", buttonStyle=" + this.getButtonStyle() + ", optType=" + this.getOptType() + ", exp=" + this.getExp() + ", buttonStatus=" + this.getButtonStatus() + ", orderNum=" + this.getOrderNum() + ", buttonIcon=" + this.getButtonIcon() + ")";
//    }
}
